package utilities;

import org.zkoss.zul.Window;

import org.zkoss.zk.ui.HtmlMacroComponent;

import java.util.List;
import java.util.Map;

public class ListDataReader extends HtmlMacroComponent {
	
	/*  Set header of List  */
	public void setHeader( List list ){
		( ( Window )getFellow( "LIST_MAIN" ) ).setVariable( "header", list, true );
	}
	
	/* Set data of List  */
	public void setData( List list ){
		( ( Window )getFellow( "LIST_MAIN" ) ).setVariable( "data", list, true );
	}
}
